﻿using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp0713Demo.Materials.Dto;

namespace Abp0713Demo.Materials
{
    public interface IMaterialAppService : IApplicationService
    {
        Task Create(CreateOrUpdateMaterialInput input);
        Task Update(CreateOrUpdateMaterialInput input);

        Task Delete(int id);

        Task<PagedResultDto<MaterialListDto>> PagedList(MaterialListRequestDto input);

        Task<UpdateMaterialOutput> GetInfo(int id);
    }
}